﻿@model IEnumerable<Student>

<h1>Student List</h1>
<table style="border:1px solid black;">
    <tr><td>ID</td><td>Name</td><td>Age</td></tr>
    @foreach(var student in Model)
    {
        <tr>
            <td>@student.Id</td>
            <td>@student.Name</td>
            <td>@student.Age</td>
        </tr>
    
    }
</table>